package com.jblv.frame.common.fastdfs;

import com.jblv.frame.common.exception.FrameException;
import com.jblv.frame.common.fastdfs.fdfs.FastResult;
import com.jblv.frame.common.fastdfs.fdfs.FileListDTO;
import com.jblv.frame.common.fastdfs.fdfs.LoadFile;
import org.csource.common.MyException;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.io.InputStream;
import java.util.List;
import java.util.Map;

public interface IFileSystem {
    String getFilePathById(String var1);

    List<FastResult> uploadPic(List<File> var1, List<String> var2) throws MyException;

    List<FastResult> uploadPicWithInfo(List<File> var1, List<String> var2, List<Integer> var3, List<Integer> var4) throws MyException;

    List<FastResult> uploadFile(List<File> var1, List<String> var2) throws MyException;

    FastResult uploadFile(byte[] var1, String var2, Map<String, String> var3);

    FastResult uploadFile(byte[] var1, String var2, Map<String, String> var3, boolean var4);

    FastResult upload(InputStream var1, String var2, String var3, String var4);

    FastResult uploadCut(String var1, int var2, int var3, int var4, int var5) throws Exception;

    LoadFile downFile(String var1);

    String getFileName(LoadFile var1);

    List<FileListDTO> getFileDTOList(String var1);

    List<FileListDTO> getFileInfoList(String var1) throws FrameException;

    FileListDTO getFileInfo(String var1) throws FrameException;

    void zoom(File var1, String var2, int var3, int var4) throws FrameException;

    boolean patchUpload(MultipartFile var1);
}

